package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 房屋信息对象 houseInfo
 * 
 * @author ruoyi
 * @date 2020-12-10
 */
public class HouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** house唯一标识 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 面积 */
    @Excel(name = "面积")
    private Long area;

    /** 房间数量 */
    @Excel(name = "房间数量")
    private Long room;

    /** 楼层 */
    private Long floor;

    /** 总楼层 */
    private Long totalFloor;

    /** 被看次数 */
    private Integer watchTimes;

    /** 建立年限 */
    private Long buildYear;

    /** 房屋状态 0-未审核 1-审核通过  2-已出租  3-逻辑删除 */
    @Excel(name = "房屋状态 0-未审核 1-审核通过  2-已出租  3-逻辑删除")
    private Long status;

    /** 最近更新时间 */
    private Date lastUpdateTime;

    /** 城市拼音缩写: 北京-&gt;bj */
    private String cityEnName;

    /** 地区拼音缩写: 昌平区-&gt; cpq */
    private String regionEnName;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 房屋朝向 1：东  2: 南 3: 西 4: 北 */
    @Excel(name = "房屋朝向 1：东  2: 南 3: 西 4: 北")
    private Long direction;

    /** 距地铁距离， 默认： -1：附近无地铁 */
    private Long distanceToSubway;

    /** 客厅数量 */
    @Excel(name = "客厅数量")
    private Long parlour;

    /** 小区 */
    @Excel(name = "小区")
    private String district;

    /** 所属管理员id */
    private Long adminId;

    /** 卫生间数量 */
    @Excel(name = "卫生间数量")
    private Long bathroom;

    /** 街道 */
    @Excel(name = "街道")
    private String street;

    /** 详细描述 */
    @Excel(name = "详细描述")
    private String description;

    /** 户型 */
    @Excel(name = "户型")
    private String layoutDesc;

    /** 交通出行 */
    private String traffic;

    /** 周边配套 */
    private String roundService;

    /** 出租方式  0： 合租, 1:整租 */
    @Excel(name = "出租方式  0： 合租, 1:整租")
    private Long rentWay;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 附近地铁线id */
    private Long subwayLineId;

    /** 附近地铁线名称 */
    private String subwayLineName;

    /** 附近地铁站id */
    private Long subwayStationId;

    /** 附近地铁站名称 */
    private String subwayStationName;

    /** 房屋id */
    private Long houseId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setRoom(Long room) 
    {
        this.room = room;
    }

    public Long getRoom() 
    {
        return room;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }
    public void setTotalFloor(Long totalFloor) 
    {
        this.totalFloor = totalFloor;
    }

    public Long getTotalFloor() 
    {
        return totalFloor;
    }
    public void setWatchTimes(Integer watchTimes) 
    {
        this.watchTimes = watchTimes;
    }

    public Integer getWatchTimes() 
    {
        return watchTimes;
    }
    public void setBuildYear(Long buildYear) 
    {
        this.buildYear = buildYear;
    }

    public Long getBuildYear() 
    {
        return buildYear;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setCityEnName(String cityEnName) 
    {
        this.cityEnName = cityEnName;
    }

    public String getCityEnName() 
    {
        return cityEnName;
    }
    public void setRegionEnName(String regionEnName) 
    {
        this.regionEnName = regionEnName;
    }

    public String getRegionEnName() 
    {
        return regionEnName;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setDirection(Long direction) 
    {
        this.direction = direction;
    }

    public Long getDirection() 
    {
        return direction;
    }
    public void setDistanceToSubway(Long distanceToSubway) 
    {
        this.distanceToSubway = distanceToSubway;
    }

    public Long getDistanceToSubway() 
    {
        return distanceToSubway;
    }
    public void setParlour(Long parlour) 
    {
        this.parlour = parlour;
    }

    public Long getParlour() 
    {
        return parlour;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setBathroom(Long bathroom) 
    {
        this.bathroom = bathroom;
    }

    public Long getBathroom() 
    {
        return bathroom;
    }
    public void setStreet(String street) 
    {
        this.street = street;
    }

    public String getStreet() 
    {
        return street;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setLayoutDesc(String layoutDesc) 
    {
        this.layoutDesc = layoutDesc;
    }

    public String getLayoutDesc() 
    {
        return layoutDesc;
    }
    public void setTraffic(String traffic) 
    {
        this.traffic = traffic;
    }

    public String getTraffic() 
    {
        return traffic;
    }
    public void setRoundService(String roundService) 
    {
        this.roundService = roundService;
    }

    public String getRoundService() 
    {
        return roundService;
    }
    public void setRentWay(Long rentWay) 
    {
        this.rentWay = rentWay;
    }

    public Long getRentWay() 
    {
        return rentWay;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setSubwayLineId(Long subwayLineId) 
    {
        this.subwayLineId = subwayLineId;
    }

    public Long getSubwayLineId() 
    {
        return subwayLineId;
    }
    public void setSubwayLineName(String subwayLineName) 
    {
        this.subwayLineName = subwayLineName;
    }

    public String getSubwayLineName() 
    {
        return subwayLineName;
    }
    public void setSubwayStationId(Long subwayStationId) 
    {
        this.subwayStationId = subwayStationId;
    }

    public Long getSubwayStationId() 
    {
        return subwayStationId;
    }
    public void setSubwayStationName(String subwayStationName) 
    {
        this.subwayStationName = subwayStationName;
    }

    public String getSubwayStationName() 
    {
        return subwayStationName;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("price", getPrice())
            .append("area", getArea())
            .append("room", getRoom())
            .append("floor", getFloor())
            .append("totalFloor", getTotalFloor())
            .append("watchTimes", getWatchTimes())
            .append("buildYear", getBuildYear())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("cityEnName", getCityEnName())
            .append("regionEnName", getRegionEnName())
            .append("cover", getCover())
            .append("direction", getDirection())
            .append("distanceToSubway", getDistanceToSubway())
            .append("parlour", getParlour())
            .append("district", getDistrict())
            .append("adminId", getAdminId())
            .append("bathroom", getBathroom())
            .append("street", getStreet())
            .append("description", getDescription())
            .append("layoutDesc", getLayoutDesc())
            .append("traffic", getTraffic())
            .append("roundService", getRoundService())
            .append("rentWay", getRentWay())
            .append("address", getAddress())
            .append("subwayLineId", getSubwayLineId())
            .append("subwayLineName", getSubwayLineName())
            .append("subwayStationId", getSubwayStationId())
            .append("subwayStationName", getSubwayStationName())
            .append("houseId", getHouseId())
            .toString();
    }
}
